package com.yhgarden.bbs.service.api.common;

import org.springframework.mail.MailException;

import javax.mail.MessagingException;

public interface MailService {
    public void sendSimpleMail(String to, String subject, String content) throws MailException;

    public void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId) throws MessagingException;

    public void sendHtmlMail(String to, String subject, String content) throws MessagingException;

    public void sendAttachmentsMail(String to, String subject, String content, String filePath) throws MessagingException;
}
